<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<form name="uploadForm" method="post" enctype="multipart/form-data" action="/sale/insert.html">
<table>
	<tr>
		<th>사진</th>
		<td><img src="${sale.photoUrl1}" width="80" height="60"></td>
	</tr>
	<tr>
		<th>상품명</th>
		<td>${sale.productName}</td>
	</tr>
	<tr>
		<th>매장명</th>
		<td>${sale.shopName}</td>
	</tr>
	<!--
	<tr>
		<th>세일 시작일</th>
		<td><input type="text" name="saleDateFrom" /></td>
	</tr>
	<tr>
		<th>세일 종료일</th>
		<td><input type="text" name="saleDateTo" /></td>
	</tr>
	-->
	<tr>
		<th>세일 off from</th>
		<td>${sale.saleOffFrom}</td>
	</tr>
	<tr>
		<th>세일 off to</th>
		<td>${sale.saleOffTo}</td>
	</tr>
</table>
<div>
	<p>
		<a href="/sale/form.html?id=${sale.id}">수정</a> 
		<a href="/sale/delete.html?id=${sale.id}">삭제</a> 
	</p>
</div>
</form>
